package com.junjiao.util.db;

import redis.clients.jedis.Jedis;
/**
 * 
 * @author jiaojun
 * <p>email:junjiao.j@gmail.com</p>
 * @version v0.0.1
 * @date 2012-7-4
 * 
 * http://www.jarvana.com/jarvana/view/redis/clients/jedis/2.0.0/jedis-2.0.0-javadoc.jar!/index.html
 */
public class RedisUtil {
	
	public static void main(String[] args) {
		 Jedis jedis = new Jedis("192.168.38.190");  
	        jedis.set("java", "http://java.androidwhy.com");  
	        String value = jedis.get("java");  
	          
	        System.out.println(value);  
	        
	        jedis.del("cctv");
	        
	        System.out.println(jedis.get("cctv")); 
	}
}
